package c

import (
	"github.com/flipped-aurora/gin-vue-admin/server/middleware"
	"github.com/gin-gonic/gin"
)

// PostRouter 社区帖子模块相关路由信息
type PostRouter struct{}

func (p *PostRouter) InitPostRouter(Router *gin.RouterGroup) {
	userRouterWithAuth := Router.Group("post").Use(middleware.JWTAuth())
	{
		userRouterWithAuth.GET("/getPostList", postApi.GetPostList) // 获取内容列表
	}
}
